class CreatePizzaMakers < ActiveRecord::Migration
  def self.up
    create_table :pizza_makers do |p|
      p.string :name , :null => false
      p.string :surname , :null => false
      p.string :phonenumber , :null => false
      p.references :restaurant
      
      p.timestamps
    end
  end

  def self.down
    drop_table :pizza_makers
  end
end
